home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Other / mCD / Source / PrefsController.h < prev    next >
Encoding:
Text File  |  1995-05-06  |  1.2 KB  |  44 lines

  1.  
  2. #import <appkit/appkit.h>
  3.  
  4. @interface PrefsController:Object
  5. {
  6.     id    prefsPanel;
  7.     id    list_SCSI;
  8.     id  mainPanel_ID;
  9.     id  cdInfo_ID;
  10.     
  11.     char globRawDeviceName[32];
  12.     int  globRawDevicePrefTag;
  13.     int  globLeftVolume, globRightVolume;
  14.     BOOL globSeparateVolumes, globConsoleDebugMsgs;
  15.     
  16.     NXSize mainScreenSize;
  17.     char controlFrameName[32]; /* name will include screen size */
  18.     
  19.     char tempStr[NX_MAXFRAMESTRINGLENGTH]; /* about 300 characters */
  20.     int    tempInt;
  21. }
  22.  
  23. /* show the global preferences panel */
  24. - showPrefsPanel:sender;
  25.  
  26. /* setting and getting values */
  27. - setRawDevicePrefTag:(int)prefTag andSave:(BOOL)dwriteIt;
  28. - (int) rawDevicePrefTag;
  29. - (char *) rawDeviceName;
  30. - setSeparateVolumes:(BOOL)onOffSetting andSave:(BOOL)dwriteIt;
  31. - (BOOL) separateVolumes;
  32. - setConsoleDebugMsgs:(BOOL)onOffSetting andSave:(BOOL)dwriteIt;
  33. - (BOOL) consoleDebugMsgs;
  34. - saveControlFrame:(BOOL)wantSave;
  35. - saveVolumes:(BOOL)wantSave;
  36. - getVolumes:(int *)leftVolPtr :(int *)rightVolPtr;
  37.  
  38. /* this has to be the last method defined, because it references many
  39.    internal (private) methods.  Note that it's assumed that "cdInfo"
  40.    will respond to getVolumes:: */
  41. - initGlobalPreferences:cdInfo mainPanel:ctrlPanel;
  42.  
  43. @end
  44.